namespace NServiceBus.AcceptanceTests.EndpointTemplates;

using System;
using System.Threading.Tasks;
using AcceptanceTesting.Support;

public class DefaultPublisher : IEndpointSetupTemplate
{
    public Task<EndpointConfiguration> GetConfiguration(RunDescriptor runDescriptor, EndpointCustomizationConfiguration endpointCustomizationConfiguration, Func<EndpointConfiguration, Task> configurationBuilderCustomization) =>
        new DefaultServer().GetConfiguration(runDescriptor, endpointCustomizationConfiguration, configurationBuilderCustomization);
}
